#pragma once
#include "Common.h"
#include "threadCache.h"

static void* ConcurrentAlloc(size_t size)
{
	if (pTLSThreadCache == nullptr)
	{
		pTLSThreadCache = new ThreadCache;
	}
	//std::cout << std::this_thread::get_id() << " : " << pTLSThreadCache <<  std::endl;
	return pTLSThreadCache->Allocate(size);
	
}

static void ConcurrentFree(void* ptr)
{

}